@charset 'utf-8';

/*-----------------------------公共部分-----------------------------*/

body {
    min-width: 1280px;
    max-width: 100%;
}

body.noScroll {
    overflow: hidden;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

.dis-n {
    display: none;
}

.dis-b {
    display: block;
}


/*-----------------------------动画函数-----------------------------*/


/*-------------头部函数--------*/

@keyframes bg-swf {
    0% {
        opacity: 0;
    }
    99% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes yys {
    from {
        left: -200px;
        opacity: 0;
    }
    to {
        left: 20px;
        opacity: 1;
    }
}

@keyframes login {
    from {
        right: -200px;
        opacity: 0;
    }
    to {
        right: 35px;
        opacity: 1;
    }
}

@keyframes ani-logo {
    from {
        top: 458px;
        opacity: 0;
    }
    to {
        top: 70px;
        opacity: 1;
    }
}

@keyframes down {
    from {
        top: 915px;
        opacity: 0;
    }
    to {
        top: 615px;
        opacity: 1;
    }
}

@keyframes down-line {
    0% {
        top: 30px;
    }
    100% {
        top: 146px;
    }
}

@keyframes mouse {
    form {
        bottom: 116px;
        opacity: .8;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}


/*-------------newVer函数--------------*/

@keyframes newVer-box {
    0% {
        width: 0;
        height: 3px;
        border-top-color: rgb(165, 124, 71);
    }
    75% {
        width: 400px;
        height: 3px;
        border-top-color: rgb(165, 124, 71);
    }
    100% {
        width: 400px;
        height: 174px;
        border-top-color: rgb(165, 124, 71);
        border-right-color: rgb(165, 124, 71);
    }
}

@keyframes newVer-box-right {
    0% {
        width: 0;
        height: 3px;
        border-bottom-color: rgb(165, 124, 71);
    }
    75% {
        width: 400px;
        height: 3px;
        border-bottom-color: rgb(165, 124, 71);
    }
    100% {
        width: 400px;
        height: 174px;
        border-bottom-color: rgb(165, 124, 71);
        border-left-color: rgb(165, 124, 71);
    }
}


/*-------------游戏特色函数--------*/

@keyframes nav-box {
    0% {
        width: 0;
        height: 2px;
        border-top-color: #fff;
    }
    75% {
        width: 737px;
        height: 2px;
        border-top-color: #fff;
    }
    100% {
        width: 737px;
        height: 400px;
        border-top-color: #fff;
        border-right-color: #fff;
    }
}

@keyframes nav-box-right {
    0% {
        width: 0;
        height: 2px;
        border-bottom-color: #fff;
    }
    75% {
        width: 737px;
        height: 2px;
        border-bottom-color: #fff;
    }
    100% {
        width: 737px;
        height: 400px;
        border-bottom-color: #fff;
        border-left-color: #fff;
    }
}


/*-------------新版本函数--------*/

@keyframes con-btn-prev {
    from {
        left: 10%;
    }
    to {
        left: 9%;
    }
}

@keyframes con-btn-next {
    from {
        right: 3%;
    }
    to {
        right: 2%;
    }
}


/*-----------------------------头部-----------------------------*/

header {
    position: relative;
    width: 100%;
    height: 1020px;
    background: url('../img/home-img/bg1.jpg') no-repeat;
    background-position-x: 50%;
    background-position-y: -57px;
}


/*---------头部背景flash---------*/

header > figure.bg-swf {
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    /*animation: bg-swf linear 1s forwards;*/
}


/*header > figure.bg-swf > embed{
	width: 100%;
	height: 100%;
	opacity: 0;
	animation: bg-swf linear 1s forwards;
}
header > figure.bg-swf > .embed{
	width: 100%;
	height: 100%;
	opacity: 0;
	animation: bg-swf linear 1s forwards;
}*/


/*---------头部各模块公共部分---------*/

header > .yys,
header > .login,
header > figure.animate,
header > .download,
header > .mouse {
    position: absolute;
    z-index: 2;
}


/*------------左侧阴阳师------------*/

header > .yys {
    top: 20px;
    left: 30px;
    opacity: 0;
}
header > .yys.on{
     -webkit-animation: yys 1s ease-in-out forwards;
    -o-animation: yys 1s ease-in-out forwards;
    animation: yys 1s ease-in-out forwards;
}
header > .yys > img:last-child {
    position: absolute;
    top: 0;
    left: 40px;
    width: 93px;
    height: 93px;
    margin-left: 10px;
    border: 2px solid #fff;
    border-radius: 20px;
}


/*----------右侧login----------*/

header > .login {
    top: 25px;
    right:  -200px;
    display: block;
    width: 176px;
    height: 44px;
    cursor: pointer;
    border: none;
    border-radius: 100px;
    background-color: #000;
}
header > .login.on{
     animation: login 1.2s ease-in-out forwards;
}
header > .login > img {
    position: relative;
    top: 0;
    overflow: hidden;
    opacity: .9;
}

header > .login > img:hover {
    opacity: 1;
}


/*----------动画----------*/

header > figure.animate {
    z-index: 99;
    top: 0;
    right: 0;
}

header > figure.animate > .video {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

header > figure.animate > .video > .video-box {
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 800px;
    height: 450px;
    margin: auto;
    border: 2px solid #b69476;
}

header > figure.animate > .video > .video-box > .close {
    position: absolute;
    top: 0;
    right: -40px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    transition: transform .3s;
    transform: rotate(0deg);
    background: url('../img/home-img/close.png');
}

header > figure.animate > .video > .video-box > .close:hover,
.newVer > ul.content > .close:hover {
    transform: rotate(180deg);
}

header > figure.animate > .btn {
    position: absolute;
    z-index: 3;
    top: 452px;
    right: 311px;
    cursor: pointer;
    opacity: .9;
}

header > figure.animate > .btn:hover {
    opacity: 1;
}

header > figure.animate > .btn > img:first-child {
    position: absolute;
    top: 2px;
    right: 2px;
}

header > figure.animate > .logo {
    position: absolute;
    /*top: 70px;*/
    right: 48px;
    width: 350px;
    height: 520px;
    top: 458px;
    opacity: 0; 
}
header > figure.animate > .logo.on{
     animation: ani-logo 1s ease-in-out forwards;
}
header > figure.animate > .logo > img {
    width: 100%;
    height: 100%;
}
/*----------下载----------*/

header > .download {
    /*top: 615px;*/
    right: 136px;
     top: 915px;
     opacity: 0;
} 
header > .download.on{
    animation: down 1.1s ease-in-out forwards;
}
header > .download a {
    display: block;
}

header > .download > .qrcode {
    position: relative;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
}

header > .download > .qrcode > *:nth-child(2) {
    position: absolute;
    top: 30px;
    left: -6px;
    width: 114%;
    height: 16px;
    -webkit-animation: down-line 2s linear infinite alternate;
    -o-animation: down-line 2s linear infinite alternate;
    animation: down-line 2s linear infinite alternate;
}

header > .download > .qrcode > *:first-child {
    font-size: 16px;
    font-weight: bold;
    padding-left: 6px;
    color: #3d2672;
}

header > .download > .qrcode > *:last-child {
    width: 124px;
    height: 124px;
    margin-top: 5px;
    border: 6px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
}

header > .download > .device {
    display: inline-block;
    vertical-align: bottom;
}

header > .download > .device > a:last-child {
    margin: 10px 0 5px;
    background-color: #000;
}

header > .download > .device > a:last-child > img {
    opacity: .9;
}

header > .download > .device > a:last-child > img:hover {
    opacity: 1;
}


/*----------鼠标logo----------*/

header > .mouse {
    bottom: 116px;
    left: 50%;
    display: block;
    margin-left: -50px;
    -webkit-animation: mouse 1.3s linear infinite;
    -o-animation: mouse 1.3s linear infinite;
    animation: mouse 1.3s linear infinite;
}


/*-----------------------------新版本情报-----------------------------*/

.newVer {
    z-index: 99;
    box-sizing: border-box;
    width: 100%;
    height: 1080px;
    padding-top: 10px;
    background: url('../img/home-img/bg2.jpg') no-repeat center/cover;
}

.newVer > h1.lazy-hide,
.newVer > nav > dd.lazy-hide {
    top: 400px !important;
    transition: 2s;
    opacity: 0 !important;
}


/*--------标题---------*/

.newVer > h1 {
    position: relative;
    top: 0;
    width: 800px;
    height: 150px;
    margin: auto;
    transition: 2s;
    opacity: 1;
    background: url('../img/home-img/newinfo/newinf.png');
}


/*--------导航---------*/

.newVer > nav {
    display: flex;
    width: 1270px;
    margin: 50px auto;
    flex-flow: row wrap;
    justify-content: space-between;
}

.newVer > nav > dd {
    position: relative;
    top: 0;
    width: 417px;
    height: 194px;
    margin-bottom: 40px;
    cursor: pointer;
    transition: top 1s;
}

.newVer > nav > dd:hover {
    top: -20px;
}

.newVer > nav > dd:hover .box {
    animation: newVer-box .25s linear forwards;
}

.newVer > nav > dd:hover .box-right {
    animation: newVer-box-right .25s linear .25s forwards;
}

.newVer > nav > dd > .box {
    position: absolute;
    top: 9px;
    left: 5px;
    width: 400px;
    height: 174px;
    border: 3px solid transparent;
}

.newVer > nav > dd > .box-right {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 400px;
    height: 174px;
    border: 3px solid transparent;
}

.newVer > nav > dd:nth-child(1) {
    background: url('../img/home-img/newinfo/p1.png');
}

.newVer > nav > dd:nth-child(2) {
    background: url('../img/home-img/newinfo/p2.png');
}

.newVer > nav > dd:nth-child(3) {
    background: url('../img/home-img/newinfo/p3.png');
}

.newVer > nav > dd:nth-child(4) {
    background: url('../img/home-img/newinfo/p4.png');
}

.newVer > nav > dd:nth-child(5) {
    background: url('../img/home-img/newinfo/p5.png');
}

.newVer > nav > dd:nth-child(6) {
    background: url('../img/home-img/newinfo/p6.png');
}

.newVer > ul.content {
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background: rgba(0, 0, 0, .5);
}

.newVer > ul.content > li.wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 1180px;
    height: 735px;
    margin: auto;
}

.newVer > ul.content > li.wrap:nth-child(1) {
    background: url('../img/home-img/newinfo/ren1.png') no-repeat center/contain;
}

.newVer > ul.content > li.wrap:nth-child(2) {
    background: url('../img/home-img/newinfo/ren2.png') no-repeat center/contain;
}

.newVer > ul.content > li.wrap:nth-child(3) {
    background: url('../img/home-img/newinfo/ren3.png') no-repeat center/contain;
}

.newVer > ul.content > li.wrap:nth-child(4) {
    background: url('../img/home-img/newinfo/ren4.png') no-repeat center/contain;
}

.newVer > ul.content > li.wrap:nth-child(5) {
    background: url('../img/home-img/newinfo/ren5.png') no-repeat center/contain;
}

.newVer > ul.content > li.wrap:nth-child(6) {
    background: url('../img/home-img/newinfo/ren6.png') no-repeat center/contain;
}

.newVer > ul.content > li.wrap > article {
    font-size: 16px;
    line-height: 40px;
    position: absolute;
    top: 28%;
    left: 46%;
    overflow: hidden;
    box-sizing: border-box;
    width: 450px;
    height: 320px;
    padding: 10px 50px 0 5px;
}

.newVer > ul.content > li.wrap > article:hover .scroll-bar {
    opacity: 1;
}

.newVer > ul.content > li.wrap > article > .scroll-bar {
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    width: 10px;
    height: 320px;
    transition: .5s;
    opacity: 0;
    background-color: #ccc;
}

.newVer > ul.content > li.wrap > article > .scroll-bar > .bar {
    position: absolute;
    z-index: 99999;
    width: 100%;
    height: 100px;
    cursor: pointer;
    background: #000;
}

.newVer > ul.content > li.wrap > article > .txt {
    position: absolute;
    width: 95%;
    height: auto;
}

.newVer > ul.content > li.wrap > article > .txt > h3 {
    font-weight: bold;
    margin-top: 50px;
    color: red;
}

.newVer > ul.content > li.wrap > article > .txt > h3:first-of-type {
    margin-top: 0;
}

.newVer > ul.content > li.wrap > article > .txt > h4 {
    font-weight: bold;
}

.newVer > ul.content > .close {
    position: absolute;
    top: 7%;
    right: 7%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    transition: transform .3s;
    transform: rotate(0deg);
    background: url('../img/home-img/close.png');
}

.newVer > ul.content > .btn {
    position: absolute;
    width: 46px;
    height: 18px;
    cursor: pointer;
}

.newVer > ul.content > .btn.prev {
    top: 60%;
    left: 10%;
    background: url('../img/home-img/newinfo/toleft.png');
}

.newVer > ul.content > .btn.prev:hover {
    animation: con-btn-prev 1s linear infinite alternate;
}

.newVer > ul.content > .btn.next {
    top: 60%;
    right: 3%;
    background: url('../img/home-img/newinfo/toright.png');
}

.newVer > ul.content > .btn.next:hover {
    animation: con-btn-next 1s linear infinite alternate;
}


/*-----------------------------游戏特色-----------------------------*/

.feature {
    position: relative;
    width: 100%;
    height: 534px;
    background: url('../img/home-img/bg3.jpg') no-repeat center/cover;
    perspective: 800px;
    perspective-origin: center 40%;
}

.feature > h1 {
    position: absolute;
    top: -380px;
    right: 0;
    left: 0;
    width: 800px;
    height: 150px;
    margin: auto;
    transition: 2s;
    opacity: 1;
    background: url('../img/home-img/game/game_title.png');
}

.feature > h1.lazy-hide {
    top: 20px !important;
    opacity: 0 !important;
}

.feature > nav {
    position: absolute;
    top: -200px;
    right: 0;
    left: 0;
    width: 936px;
    height: 440px;
    margin: auto;
    transition: top 2s;
    transform-style: preserve-3d;
}

.feature > nav.lazy-hide {
    top: 400px !important;
}

.feature > nav > dd {
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    width: 777px;
    height: 100%;
    margin: auto;
    cursor: pointer;
    transition: .5s;
    transform: translate3d(0px, -60px, -200px) rotateY(0deg);
    opacity: 0;
}

.feature > nav > dd:not(.mid):hover {
    opacity: .8 !important;
}

.feature > nav > dd > div {
    position: absolute;
    box-sizing: border-box;
    width: 737px;
    height: 400px;
    border: 2px solid transparent;
}

.feature > nav > dd > div.box {
    top: 20px;
    left: 20px;
    animation: nav-box .25s linear forwards;
}

.feature > nav > dd > div.box-right {
    right: 20px;
    bottom: 20px;
    animation: nav-box-right .25s linear .25s forwards;
}

.feature > nav > dd.right {
    z-index: 3;
    transition: .5s;
    transform: translate3d(217px, -33px, -327px) rotateY(-40deg);
    opacity: .6;
}

.feature > nav > dd.left {
    z-index: 3;
    transition: .5s;
    transform: translate3d(-217px, -33px, -327px) rotateY(40deg);
    opacity: .6;
}

.feature > nav > dd.mid {
    z-index: 4;
    transition: .5s;
    transform: translate3d(0px, -10px, -50px) rotateY(0deg);
    opacity: 1;
}

.feature > nav > dd:nth-of-type(1) {
    background: url('../img/home-img/game/bannerimg1.jpg') no-repeat center/cover;
}

.feature > nav > dd:nth-of-type(2) {
    background: url('../img/home-img/game/bannerimg2.jpg') no-repeat center/cover;
}

.feature > nav > dd:nth-of-type(3) {
    background: url('../img/home-img/game/bannerimg3.jpg') no-repeat center/cover;
}

.feature > nav > dd:nth-of-type(4) {
    background: url('../img/home-img/game/bannerimg4.jpg') no-repeat center/cover;
}

.feature > nav > dd:nth-of-type(5) {
    background: url('../img/home-img/game/bannerimg5.jpg') no-repeat center/cover;
}

.feature > nav .btn {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 82px;
    margin-top: -41px;
    cursor: pointer;
    opacity: .8;
    background-color: #000;
}

.feature > nav .btn:hover {
    opacity: 1;
}

.feature > nav .btn.prev {
    left: -66px;
}

.feature > nav .btn.next {
    right: -66px;
}


/*-----------------------------尾部-----------------------------*/

.footer {
    position: absolute;
    bottom: -100px;
    width: 100%;
    padding: 50px 0;
    background-color: #231e2b;
}


/*--------链接-------*/

.footer nav.link {
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    top: -80px;
    right: 0;
    left: 0;
    margin: auto;
    padding: 10px 0;
    text-align: center;
    color: #aaa;
}

.footer a {
    opacity: .8;
}

.footer a:hover {
    opacity: 1;
}

.footer nav.link > span {
    vertical-align: middle;
}

.footer nav.link > a {
    margin-right: 10px;
    vertical-align: middle;
}

.footer nav.link > a > i {
    font-size: 20px;
    margin: 0 5px;
    vertical-align: middle;
}


/*--------版权-------*/

.footer nav.copyright {
    width: 820px;
    margin: auto;
    color: #aaa;
}

.footer nav.copyright > aside.right {
    float: right;
}

.footer nav.copyright > aside.right > ul {
    padding: 10px 0;
}

.footer nav.copyright > aside.right > ul > li {
    float: left;
}

.footer nav.copyright > aside.right > ul > li > a:hover {
    text-decoration: underline;
}

.footer nav.copyright > aside.right > .wrap-copyright > p {
    font-size: 12px;
    float: left;
}

.footer nav.copyright > aside.right > .wrap-copyright > a {
    font-size: 14px;
    line-height: 26px;
    display: block;
    float: right;
    width: 165px;
    height: 26px;
    padding: 5px 3px;
    text-align: center;
    opacity: 1;
    color: #fff;
    background-color: #660f0f;
}

.footer nav.copyright > aside.right > .wrap-copyright > a:hover {
    text-decoration: underline;
}

.footer nav.copyright > aside.left {
    float: left;
}

.footer nav.copyright > aside.left * {
    display: inline;
}


/*--------备注-------*/

.footer .remark {
    font-size: 14px;
    width: 820px;
    margin: auto;
    white-space: nowrap;
    color: #aaa;
}

.footer .remark p {
    margin-top: 5px;
}

.footer .remark p:last-child {
    text-indent: -5px;
}

.footer .remark a:hover {
    text-decoration: underline;
}
